# [3,5,8,7,2,0] 求列表最小值
l = [3,5,8,7,2,0]
a = 0
s = 0
while a<len(l):
    if s>l[a]:
        s=l[a]
    a+=1
print(s)
print(min(l))